﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class ThamSoDTO
    {
#region Attributes
        private byte _tuoitoida;
        private byte _tuoitoithieu;
        private int _thoihanthe;
        private int _khoangcachnamxb;
        private int _soluonmuontoida;
        private int _thoigianmuontoida;
        private decimal _tienphat;
#endregion
#region Properties
        public byte TuoiToiDa
        {
            get { return _tuoitoida; }
            set { _tuoitoida = value; }
        }
        public byte TuoiToiThieu
        {
            get { return _tuoitoithieu; }
            set { _tuoitoithieu = value; }
        }
        public int ThoiHanThe
        {
            get { return _thoihanthe; }
            set { _thoihanthe = value; }
        }
        public int KhoangCachNamXB
        {
            get { return _khoangcachnamxb; }
            set { _khoangcachnamxb = value; }
        }
        public int SoLuongMuonToiDa
        {
            get { return _soluonmuontoida; }
            set { _soluonmuontoida = value; }
        }
        public int ThoiGianMuonToiDa
        {
            get { return _thoigianmuontoida; }
            set { _thoigianmuontoida = value; }
        }
        public decimal TienPhat{
            get { return _tienphat; }
            set { _tienphat = value; }
        }
#endregion
#region Default Constructor
        public ThamSoDTO(){

        }
        public ThamSoDTO(byte tuoitoida, byte tuoitoithieu, int thoihanthe, int khoangcachxb, int slmuontoida, int thoigianmuontoida, decimal tienphat)
        {
            TuoiToiDa = tuoitoida;
            TuoiToiThieu = tuoitoithieu;
            ThoiHanThe = thoihanthe;
            KhoangCachNamXB = KhoangCachNamXB;
            SoLuongMuonToiDa = slmuontoida;
            ThoiGianMuonToiDa = thoigianmuontoida;
            TienPhat = tienphat;
        }
#endregion
    }
}
